package msg

type IotMsgSubDeviceRegistry struct {
	Id     string                      `json:"id"`
	Params IotMsgSubDeviceRegistryBody `json:"params"`
}

type IotMsgSubDeviceRegistryBody struct {
	ProductKey string `json:"productKey"`
	DeviceName string `json:"deviceName"`
	Model      string `json:"model"`
}

type IotMsgGetProperty struct {
	Id     string   `json:"id"`
	Params []string `json:"params"`
}

type IotMsgSetProperty struct {
	Id     string                 `json:"id"`
	Params map[string]interface{} `json:"params"`
}

type IotMsgServiceInvoke struct {
	Id     string                 `json:"id"`
	Method string                 `json:method`
	Params map[string]interface{} `json:"params"`
}
